﻿// <copyright file="SamlNameIdentifier.cs" company="SharpSTS">
// Copyright (c) 2007, 2008 All Right Reserved, http://sharpsts.com/
//
// This source is subject to the Microsoft Permissive License.
// Please see the License.txt file for more information.
// All other rights reserved.
//
// THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 
// KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
// </copyright>
// <author>Barry Dorrans</author>
// <email>barryd@idunno.org</email>
// <date>2008-06-16</date>
// <summary>The type of SAML subject identifiers.</summary>

namespace SharpSTS
{
    /// <summary>
    /// An enumeration representing the type of SAML subject identifiers.
    /// </summary>
    [System.Diagnostics.CodeAnalysis.SuppressMessage(
        "Microsoft.Naming", 
        "CA1704:IdentifiersShouldBeSpelledCorrectly", 
        MessageId = "Saml",
        Justification = "Saml is an acroynm.")]
    public enum SamlNameIdentifier
    {
        /// <summary>
        /// Indicates the type of subject identifier is unspecified.
        /// </summary>
        Unspecified = 0,

        /// <summary>
        /// Indicates the type of subject identifier is an email address
        /// </summary>
        EmailAddress,

        /// <summary>
        /// Indicates the type of subject identifier is an X509 subject address
        /// </summary>
        X509SubjectName,
        
        /// <summary>
        /// Indicates the type of subject identifier is a Windows domain qualified name
        /// </summary>
        WindowsDomainQualifiedName,
        
        /// <summary>
        /// Indicates the type of subject identifier is a kerberos identifier.
        /// </summary>
        Kerberos,
        
        /// <summary>
        /// Indicates the type of subject identifier is an entity.
        /// </summary>
        Entity,
        
        /// <summary>
        /// Indicates the type of subject identifier is a persistent identifier.
        /// </summary>
        Persistent,
        
        /// <summary>
        /// Indicates the type of subject identifier is a transient identifier.
        /// </summary>
        Transient
    }
}
